<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_err.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('2ve__2vm_2xplmi__err_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">2ve_2vm/xplmi_err.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the PLMI versal_net platform specific code. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
1.00  sk   08/26/2024 Initial release, Updated Error Table
      pre  01/09/2025 Added PCIE error handling
      sk   02/20/2025 Added XMPU/XPPU error handlers
      ma   03/14/2025 Moved a print statement in XPlmi_ErrPrintToLog
      sk   04/07/2025 Updated error actions for apll1 and rpu fatal error
      sk   04/07/2025 Added redundant call to enable EAM interrupt
      sk   04/09/2025 Updated LPD SLCR EAM Disable error logic</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga349e01e3b241b2d16b6d99ebc6a29759"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga349e01e3b241b2d16b6d99ebc6a29759">XPLMI_ERROR_TABLE_DS_VER</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga349e01e3b241b2d16b6d99ebc6a29759"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error table data structure version.  <a href="group__xilplmi__server__apis.html#ga349e01e3b241b2d16b6d99ebc6a29759">More...</a><br/></td></tr>
<tr class="separator:ga349e01e3b241b2d16b6d99ebc6a29759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac47bb817df1075b3d2cc198461359d0b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gac47bb817df1075b3d2cc198461359d0b">XPLMI_ERROR_TABLE_DS_LCVER</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:gac47bb817df1075b3d2cc198461359d0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error table data structure LC version.  <a href="group__xilplmi__server__apis.html#gac47bb817df1075b3d2cc198461359d0b">More...</a><br/></td></tr>
<tr class="separator:gac47bb817df1075b3d2cc198461359d0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bd38f0917d03ea614eebd3c7ab6aab7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga5bd38f0917d03ea614eebd3c7ab6aab7">XPLMI_NUM_ERROUTS_VERSION</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga5bd38f0917d03ea614eebd3c7ab6aab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">ERROUTS version.  <a href="group__xilplmi__server__apis.html#ga5bd38f0917d03ea614eebd3c7ab6aab7">More...</a><br/></td></tr>
<tr class="separator:ga5bd38f0917d03ea614eebd3c7ab6aab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga809601f61a15d15b2266a3e2c717bf19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga809601f61a15d15b2266a3e2c717bf19">XPLMI_NUM_ERROUTS_LCVERSION</a>&#160;&#160;&#160;(1U)</td></tr>
<tr class="memdesc:ga809601f61a15d15b2266a3e2c717bf19"><td class="mdescLeft">&#160;</td><td class="mdescRight">ERROUTS LC version.  <a href="group__xilplmi__server__apis.html#ga809601f61a15d15b2266a3e2c717bf19">More...</a><br/></td></tr>
<tr class="separator:ga809601f61a15d15b2266a3e2c717bf19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51cc508f632c3e9101176bd356db4c4f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga51cc508f632c3e9101176bd356db4c4f">PCIE0_LINK_DOWN_PROC_ID</a>&#160;&#160;&#160;(0x1U)</td></tr>
<tr class="memdesc:ga51cc508f632c3e9101176bd356db4c4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCIE0 link down proc Id.  <a href="group__xilplmi__server__apis.html#ga51cc508f632c3e9101176bd356db4c4f">More...</a><br/></td></tr>
<tr class="separator:ga51cc508f632c3e9101176bd356db4c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f6078c8daa30c9b7129b75b373682fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga1f6078c8daa30c9b7129b75b373682fa">PCIE1_LINK_DOWN_PROC_ID</a>&#160;&#160;&#160;(0x2U)</td></tr>
<tr class="memdesc:ga1f6078c8daa30c9b7129b75b373682fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">PCIE1 link down proc Id.  <a href="group__xilplmi__server__apis.html#ga1f6078c8daa30c9b7129b75b373682fa">More...</a><br/></td></tr>
<tr class="separator:ga1f6078c8daa30c9b7129b75b373682fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7810fdd99931cc6c6ba8babb8c235641"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga7810fdd99931cc6c6ba8babb8c235641">XPlmi_HandleLinkDownError</a> (u32 Cpm5PcieIrStatusReg, u32 Cpm5DmaCsrIntDecReg, u32 ProcId)</td></tr>
<tr class="memdesc:ga7810fdd99931cc6c6ba8babb8c235641"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function handles the CPM_NCR PCIE link down error.  <a href="group__xilplmi__server__apis.html#ga7810fdd99931cc6c6ba8babb8c235641">More...</a><br/></td></tr>
<tr class="separator:ga7810fdd99931cc6c6ba8babb8c235641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5318b3d7b02f3f620c32002dd295426f"><td class="memItemLeft" align="right" valign="top">XPlmi_Error_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga5318b3d7b02f3f620c32002dd295426f">XPlmi_GetErrorTable</a> (void)</td></tr>
<tr class="memdesc:ga5318b3d7b02f3f620c32002dd295426f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides error table pointer.  <a href="group__xilplmi__server__apis.html#ga5318b3d7b02f3f620c32002dd295426f">More...</a><br/></td></tr>
<tr class="separator:ga5318b3d7b02f3f620c32002dd295426f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga714bd9052c2b7075eebbe7dfbad3c4c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga714bd9052c2b7075eebbe7dfbad3c4c0">XPlmi_ReconfigErrActions</a> (void)</td></tr>
<tr class="memdesc:ga714bd9052c2b7075eebbe7dfbad3c4c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reconfigures error actions after the update.  <a href="group__xilplmi__server__apis.html#ga714bd9052c2b7075eebbe7dfbad3c4c0">More...</a><br/></td></tr>
<tr class="separator:ga714bd9052c2b7075eebbe7dfbad3c4c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbcb3756137ef2f51a8774b3759f676e"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gafbcb3756137ef2f51a8774b3759f676e">XPlmi_GetEventIndex</a> (XPlmi_EventType ErrorNodeType)</td></tr>
<tr class="memdesc:gafbcb3756137ef2f51a8774b3759f676e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides event index.  <a href="group__xilplmi__server__apis.html#gafbcb3756137ef2f51a8774b3759f676e">More...</a><br/></td></tr>
<tr class="separator:gafbcb3756137ef2f51a8774b3759f676e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39731288ebdb48e9ad35613335d2e772"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga39731288ebdb48e9ad35613335d2e772">XPlmi_ErrPrintToLog</a> (u32 ErrorNodeId, u32 RegMask)</td></tr>
<tr class="memdesc:ga39731288ebdb48e9ad35613335d2e772"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for Error action "Print
          to Log".  <a href="group__xilplmi__server__apis.html#ga39731288ebdb48e9ad35613335d2e772">More...</a><br/></td></tr>
<tr class="separator:ga39731288ebdb48e9ad35613335d2e772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b561130b1c156c819ca49c26b2c144c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga9b561130b1c156c819ca49c26b2c144c">XPlmi_DumpErrNGicStatus</a> (void)</td></tr>
<tr class="memdesc:ga9b561130b1c156c819ca49c26b2c144c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function dumps EAM Error status registers and Gic Status registers.  <a href="group__xilplmi__server__apis.html#ga9b561130b1c156c819ca49c26b2c144c">More...</a><br/></td></tr>
<tr class="separator:ga9b561130b1c156c819ca49c26b2c144c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f1da57b82a161d66fd9dddfa3cd1a09"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga4f1da57b82a161d66fd9dddfa3cd1a09">XPlmi_RestrictErrActions</a> (XPlmi_EventType NodeType, u32 RegMask, u32 ErrorAction)</td></tr>
<tr class="memdesc:ga4f1da57b82a161d66fd9dddfa3cd1a09"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function restricts error actions.  <a href="group__xilplmi__server__apis.html#ga4f1da57b82a161d66fd9dddfa3cd1a09">More...</a><br/></td></tr>
<tr class="separator:ga4f1da57b82a161d66fd9dddfa3cd1a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2ead960523910ab6716f6b944826fc5"><td class="memItemLeft" align="right" valign="top">u32 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gaa2ead960523910ab6716f6b944826fc5">XPlmi_GetNumErrOuts</a> (void)</td></tr>
<tr class="memdesc:gaa2ead960523910ab6716f6b944826fc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides pointer to NumErrOuts.  <a href="group__xilplmi__server__apis.html#gaa2ead960523910ab6716f6b944826fc5">More...</a><br/></td></tr>
<tr class="separator:gaa2ead960523910ab6716f6b944826fc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28fde859706469ef44c0306015c5460c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga28fde859706469ef44c0306015c5460c">EmEnableLpdSlcrErrAction</a> (u32 ErrMaskRegAddr, u32 RegMask)</td></tr>
<tr class="memdesc:ga28fde859706469ef44c0306015c5460c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the error action for the given error mask.  <a href="group__xilplmi__server__apis.html#ga28fde859706469ef44c0306015c5460c">More...</a><br/></td></tr>
<tr class="separator:ga28fde859706469ef44c0306015c5460c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07fc38f44ecaf9b9ae1af6e4043e321d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga07fc38f44ecaf9b9ae1af6e4043e321d">XPlmi_EmDisableLpdSlcrErrors</a> (u32 RegMaskAddr, u32 RegMask)</td></tr>
<tr class="memdesc:ga07fc38f44ecaf9b9ae1af6e4043e321d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the LPD SCLR error actions for the given mask.  <a href="group__xilplmi__server__apis.html#ga07fc38f44ecaf9b9ae1af6e4043e321d">More...</a><br/></td></tr>
<tr class="separator:ga07fc38f44ecaf9b9ae1af6e4043e321d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga226b30b2dccf839ce5c21ec7dadd19f9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga226b30b2dccf839ce5c21ec7dadd19f9">XPlmi_Versal2Ve2VmEAMHandler</a> (void *Data)</td></tr>
<tr class="memdesc:ga226b30b2dccf839ce5c21ec7dadd19f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the EAM errors.  <a href="group__xilplmi__server__apis.html#ga226b30b2dccf839ce5c21ec7dadd19f9">More...</a><br/></td></tr>
<tr class="separator:ga226b30b2dccf839ce5c21ec7dadd19f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga366702831fa35fe6b4f462d0ac261188"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga366702831fa35fe6b4f462d0ac261188">XPlmi_LpdSlcrEmInit</a> (void)</td></tr>
<tr class="memdesc:ga366702831fa35fe6b4f462d0ac261188"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the error actions in LPD Slcr Disables all the LPD SLCR error actions and registers default action.  <a href="group__xilplmi__server__apis.html#ga366702831fa35fe6b4f462d0ac261188">More...</a><br/></td></tr>
<tr class="separator:ga366702831fa35fe6b4f462d0ac261188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacaa277fc559293e696db806a7a22c852"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gacaa277fc559293e696db806a7a22c852">XPlmi_Versal2Ve2VmSetAction</a> (XPlmi_Cmd *Cmd)</td></tr>
<tr class="memdesc:gacaa277fc559293e696db806a7a22c852"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the error action as prescribed by the command.  <a href="group__xilplmi__server__apis.html#gacaa277fc559293e696db806a7a22c852">More...</a><br/></td></tr>
<tr class="separator:gacaa277fc559293e696db806a7a22c852"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
